package com.gao.util;

/**
 * @author gao
 * @time 2021/01/28 22:18:27
 */
public class ResultVOFactory {
    public static ResultVO success() {
        return new ResultVO(200, "操作成功");
    }
    public static ResultVO success(Object data) {
        return new ResultVO(200, "操作成功", data);
    }
    public static ResultVO failure() {
        return new ResultVO(500, "操作失败");
    }
}
